from scrapy.cmdline import execute
import os
os.chdir('scr_redis/spiders')
# execute('scrapy crawl baidu'.split())
execute('scrapy runspider lagou.py'.split())


